/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package UCM;

import Views.ViewDisplayDeleteManager;

/**
 *
 * @author Joshua King
 */
public class UCDisplayDeleteManager implements UCController {
    private ViewDisplayDeleteManager view;

    /**
     * Initialises the view.
     * @param view
     */
    public UCDisplayDeleteManager(ViewDisplayDeleteManager view) {
        this.view = view;
    }

    /**
     * Precondition: user is logged in as admin
     * 1. Users clicks on the delete manager button.
     * 2. System displays delete manager view.
     * Postcondition: user is on delete manager page.
     */
    public void run() {
        view.setDeleteManagerVisible();
    }

}
